//
//  YewenCollegeViewModel.h
//  jobClient
//
//  Created by 小细菌 on 2021/3/9.
//  Copyright © 2021 YL1001. All rights reserved.
//

#import "TrainingViewModel.h"
#import "YewenMediaDetailModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface YewenCollegeViewModel : TrainingViewModel
@property (nonatomic, strong) NSString *article_id;     // 课程ID
@property (nonatomic, strong) NSString *group_id;


@property (nonatomic, assign) BOOL isComplete; //是否曾经看完了视频 YES则取消任何打卡上报操作
@property (nonatomic, strong) YewenMediaDetailModel *yewenModel;

//河南监管操作
@property (nonatomic, copy) NSString *checkCode;
@property (nonatomic, copy) NSString *traceId;
@property (nonatomic, copy) NSString *userAccessToken;
@property (nonatomic, copy) NSString *checkTokenInterval;//到了这个时间点该跳转小程序答题或人脸识别
@property (nonatomic, assign) BOOL isGetAccessLink;//YES代表直接弹窗直接去获取AccessLink，绕过获取AccessToken的步骤

@property (nonatomic, strong) RACSignal *loadFinishedSubject; //进页面所有请求

@property (atomic) BOOL playNext;//是否可以播放下一个


- (id)initWithArticleId:(NSString*)articleId groupId:(NSString*)groupId;
- (void)beginRequest;
- (void)authComplete;
@end

NS_ASSUME_NONNULL_END
